<?php
/**
 * Created by PhpStorm.
 * User: xiaosong
 * Date: 2020-02-09
 * Time: 12:36
 */

namespace app\wmq\controller;


use app\api\controller\Base;

class Index extends Base
{

    protected $pre = 'wmq';



    public function _initialize()
    {
        parent::_initialize();
        $rows = self::getExplain("{$this->pre}_info,{$this->pre}_ios,{$this->pre}_andriod,companyName,url,IPC,companyAddress,ios,andriod,webKeywords,webDescription,webTitle,phone");

        $rows['ios'] = $rows[$this->pre."_ios"];
        $rows['andriod'] = $rows[$this->pre."_andriod"];
        $rows['info'] = $rows[$this->pre."_info"];
        $rows['pre'] = $this->pre;
        $this->assign([
            'rows' => $rows
        ]);
    }



    public function index()
    {
        return view();
    }

    public function agree()
    {
        return view();
    }

    public function about_us()
    {
        return view();
    }

    public function secret()
    {
        return view();
    }
}